package cn.jiyun.service;

import cn.jiyun.page.PageResult;
import cn.jiyun.page.QueryPageBean;
import cn.jiyun.pojo.Branch;
import cn.jiyun.pojo.Project;

import java.util.List;

public interface BranchService {
    int add(Branch branch);

    PageResult findAll(QueryPageBean queryPageBean);

    int update(Branch branch);

    int delete(Integer did);

    Branch findById(Integer did);

    List<Project> findProjectList(Integer did);

    List<Project> findProjectList2();
}
